package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.TbShoppingOrder;

import java.util.List;

/**
 * 订单购物车中间Mapper接口
 * 
 * @author ruoyi
 * @date 2024-04-07
 */
public interface TbShoppingOrderMapper 
{
    /**
     * 查询订单购物车中间
     * 
     * @param id 订单购物车中间主键
     * @return 订单购物车中间
     */
    public TbShoppingOrder selectTbShoppingOrderById(Long id);

    /**
     * 查询订单购物车中间列表
     * 
     * @param tbShoppingOrder 订单购物车中间
     * @return 订单购物车中间集合
     */
    public List<TbShoppingOrder> selectTbShoppingOrderList(TbShoppingOrder tbShoppingOrder);

    /**
     * 新增订单购物车中间
     * 
     * @param tbShoppingOrder 订单购物车中间
     * @return 结果
     */
    public int insertTbShoppingOrder(TbShoppingOrder tbShoppingOrder);

    /**
     * 修改订单购物车中间
     * 
     * @param tbShoppingOrder 订单购物车中间
     * @return 结果
     */
    public int updateTbShoppingOrder(TbShoppingOrder tbShoppingOrder);

    /**
     * 删除订单购物车中间
     * 
     * @param id 订单购物车中间主键
     * @return 结果
     */
    public int deleteTbShoppingOrderById(Long id);

    /**
     * 批量删除订单购物车中间
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTbShoppingOrderByIds(Long[] ids);
}
